#$config
#$ont-lineprofile gpon profile-name <%=name%>
:$ENTER
#$tr069-management enable
#$tr069-management ip-index 1
<% let index = 1;-%>
<% for(let i=0;index<7&&index>0&&i<arr.length;i++){ -%>
<% let item = arr[i]-%>
#$tcont <%=index%> dba-profile-name <%=item.dbaProfile%>
#$gem add <%=index%> eth tcont <%=index%>
:$ENTER
#$gem mapping <%=index%> <%=index%> vlan <%=item.gVLAN%>
:$ENTER
<% index++;-%>
<%} -%>
#$commit
#$quit